package com.hmy.infrastructure.api.bo.request.aliemaspush;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

@Data
public class MessageAccountPushRequest implements Serializable {

    /**
     * 账户id,最多支持1000个
     */
    @NotEmpty(message = "账号Id不能为空")
    private List<Long> accounts;

    /**
     * 消息头
     */
    @NotBlank(message = "消息标题不能为空")
    private String messageTitle;

    /**
     * 消息内容，内容是有限制的:Title + Body <= 1800B
     */
    @NotBlank(message = "消息内容不能为空")
    private String messageBody;

}
